<?php

namespace App\Utils\Helper;

use App\Entity\Log;

class LogHelper {
    /**
     * 记录日志
     * @param $log_type_id
     * @param $description
     * @param null $parameter
     */
    public static function buildLog ($log_type_id, $description, $parameter = null) {
        GetterHelper::getEntityManager()->getRepository(Log::class)->buildLog($log_type_id, $description, $parameter);
    }
}